|
bool | addAbstractChildOverride (NodeSharedPtr child) override |
|
void | addChild (const Node3DSharedPtr &child) |
| Adds a child node to a 3D node. More...
|
|
void | arrange () |
| Performs layout arrangement on a 3D node. More...
|
|
void | arrangeIterate () |
| Initial scene arrange. More...
|
|
void | arrangeIterateLayout (bool propagateArrange) |
|
void | arrangeIterateLayoutChild (bool propagateArrange) |
|
ChildConstIterator | beginChildren () const |
|
void | centeredArrange (Vector3 actualSize) const |
| Default implementation of arrange for a layout that accommodates all children at its center. More...
|
|
Vector3 | centeredMeasure (Vector3 availableSize) const |
| Default implementation of measure for a layout that accommodates all children at its center. More...
|
|
ChildConstIterator | endChildren () const |
|
const RenderEntryParameterContainer * | generateRenderStates (DrawObjectsRenderPass &drawPass) |
| Gets a listing of render entry parameters to use to generate render states. More...
|
|
size_t | getAbstractChildCountOverride () override |
|
size_t | getAbstractChildIndexOverride (const Node &node) override |
|
NodeSharedPtr | getAbstractChildOverride (size_t index) override |
|
Vector3 | getActualSize () const |
| Returns the actual size of a 3D node. More...
|
|
Vector3 | getAllocatedOffset () const |
| Returns the allocated offset of a 3D node. More...
|
|
Vector3 | getAllocatedSize () const |
| Returns the allocated size of a 3D node. More...
|
|
Matrix4x4 | getArrangeTransformation () const |
| Returns the layout transformation of a 3D node. More...
|
|
virtual optional< Box > | getBoundingBox () const |
| Gets the bounding box of a 3D node. More...
|
|
Node3DSharedPtr | getChild (size_t index) const |
| Gets a child node at a given index . More...
|
|
size_t | getChildCount () const |
| Gets the number of child nodes in a 3D node. More...
|
|
size_t | getChildIndex (const Node &child) const |
| Gets the index of a child node. More...
|
|
Vector3 | getCoreDesiredSize () const |
| Returns the core desired size of a 3D node. More...
|
|
Vector3 | getDesiredSize () const |
| Returns the desired size of a 3D node. More...
|
|
Node3DSharedPtr | getFaceToCameraTarget () const |
|
void | getLayoutBoundingBoxSize (Vector3 &bboxMin, Vector3 &bboxMax) const |
| Returns the size of the bounding box of a 3D node. More...
|
|
Node3DSharedPtr | getLookAtTarget () const |
|
Vector3 | getMaximumBoundingBoxCoordinates () const |
| Returns the maximum coordinates for the bounding volume of a 3D node. More...
|
|
Vector3 | getMinimumBoundingBoxCoordinates () const |
| Returns the minimum coordinates for the bounding volume of a 3D node. More...
|
|
Node3DSharedPtr | getOrientationConstraintTarget () const |
|
Vector3 | getPivotOffset () const |
| Returns the pivot offset of a 3D node. More...
|
|
Node3DSharedPtr | getPositionConstraintTarget () const |
|
RenderMode | getRenderMode () const |
| Returns the render mode. More...
|
|
Vector3 | getSize () const |
| Returns the size of a 3D node. More...
|
|
Vector3 | getStretchScale () const |
| Returns the stretch scale of a 3D node. More...
|
|
bool | hasChild (const Node &child) const |
| Returns whether a child node exists. More...
|
|
virtual pair< NodeSharedPtr, float > | hitTestContent (const Ray &ray) |
| Default hit test implementation of Node3D content. More...
|
|
void | insertChild (size_t index, const Node3DSharedPtr &child) |
| Adds to a 3D node a child node at a given index . More...
|
|
bool | isPrimitiveLayout () const |
| Indicates whether a 3D node has primitive layout behavior. More...
|
|
void | layout () |
| Calculates the layouts in a scene recursively. Calls the measure and arrange functions of every 3D node in the scene. More...
|
|
void | measure (const Vector3 &availableSize) |
| Performs the default measure step. More...
|
|
void | measureIterate () |
| Initial scene measure. More...
|
|
virtual bool | measureRecursive () |
| Performs layout measurement for a 3D node. More...
|
|
bool | moveAbstractChildToPositionOverride (NodeSharedPtr child, size_t index) override |
| Node::moveAbstractChildToPosition() implementation. More...
|
|
void | moveChildToPosition (Node3DSharedPtr child, size_t index) |
| Moves a child node to a given position in the list of child nodes. More...
|
|
void | moveToBack () |
| Repositions a 3D node to the beginning of the list of child nodes of its parent node, so that Kanzi draws the node first. More...
|
|
void | moveToFront () |
| Repositions a 3D node to the end of the list of child nodes of its parent node, so that Kanzi draws the node last. More...
|
|
void | onNodePropertyChanged (AbstractPropertyType propertyType, PropertyNotificationReason reason) override |
| Method executed on node property change. More...
|
|
virtual void | onTransform () |
| Per-node step performed on transform, after Kanzi calculates the final transformation. More...
|
|
ChildConstReverseIterator | rbeginChildren () const |
|
void | registerDrawPass (DrawObjectsRenderPassSharedPtr drawPass) |
| Registers a DrawObjectsRenderPass that renders a 3D node. More...
|
|
bool | removeAbstractChildOverride (Node &child) override |
|
void | removeAllChildren () |
| Removes all child nodes from a 3D node. More...
|
|
void | removeChild (const Node &child) |
| Removes a child node from a 3D node. More...
|
|
void | removeChild (size_t index) |
| Removes from a 3D node a child node at a given index . More...
|
|
ChildConstReverseIterator | rendChildren () const |
|
void | render (Renderer3D &renderer, RenderEntry3D &renderEntry) |
| Renders a 3D node using a given render state. More...
|
|
void | setActualSize (const Vector3 &actualSize) |
| Sets the actual size of a 3D node. More...
|
|
void | setAllocatedOffset (const Vector3 &allocatedOffset) |
| Sets the allocated offset of a 3D node. More...
|
|
void | setAllocatedSize (const Vector3 &layoutSize) |
| Sets the allocated size of a 3D node. More...
|
|
void | setArrangeTransformation (const Matrix4x4 &value) |
| Sets the layout transformation of a 3D node. More...
|
|
void | setAutoDepth () |
| Sets a node to determine its depth automatically. More...
|
|
void | setAutoHeight () |
| Sets a node to determine its height automatically. More...
|
|
void | setAutoSize () |
| Sets a node to determine its width, height, and depth automatically. More...
|
|
void | setAutoWidth () |
| Sets a node to determine its width automatically. More...
|
|
void | setCoreDesiredSize (const Vector3 &coreDesiredSize) |
| Sets the core desired size of a 3D node. More...
|
|
void | setDesiredSize (const Vector3 &desiredSize) |
| Sets the desired size of a 3D node. More...
|
|
void | setLayoutBoundingBoxSize (const Vector3 &bboxMin, const Vector3 &bboxMax) |
| Sets the size of the bounding box of a 3D node. More...
|
|
void | setPivotOffset (const Vector3 &pivotOffset) |
| Sets the pivot offset of a 3D node. More...
|
|
void | setRenderMode (RenderMode mode) |
| Sets the render mode. More...
|
|
void | setSize (float width, float height, float depth) |
| Sets the dimensions of a node. More...
|
|
void | setSize (Vector3 size) |
| Sets the dimensions of a node. More...
|
|
void | setStretchScale (const Vector3 &stretchScale) |
| Sets the stretch scale of a 3D node. More...
|
|
| ~Node3D () override |
|
ResourceSharedPtr | acquireResource (const ResourceID &id) const |
| Acquires a resource from the node or the node's closest ancestor having the resource id in the resource dictionary. More...
|
|
template<typename T > |
shared_ptr< T > | acquireResource (const ResourceID &id) const |
| Acquires a resource from the node or the node's closest ancestor having the resource id in the resource dictionary, and casts the resource to given type. More...
|
|
ResourceManager::AcquireTaskSharedPtr | acquireResourceAsync (const ResourceID &key, ResourceManager::AsyncAcquireFinishedCallback func) const |
| Posts an asynchronous task to acquire a resource. More...
|
|
ResourceDictionarySharedPtr | acquireResourceDictionary () |
| Gets a resource dictionary of a node. More...
|
|
void | addAnonymousResource (ResourceSharedPtr resource) |
| Adds alias resource to an object node. More...
|
|
void | addInputManipulator (InputManipulatorBaseSharedPtr inputManipulator) |
| Transfers the ownership and attaches an input manipulator to an object node. More...
|
|
template<typename TMessageType , typename TClass , typename TClassMethod > |
MessageSubscriptionToken | addMessageFilter (TMessageType &messageType, TClass *messageHandlerObject, TClassMethod method) |
| Adds a message filter where the filter is a method that is invoked on an object. More...
|
|
template<typename TMessageType > |
MessageSubscriptionToken | addMessageFilter (const TMessageType &messageType, typename TMessageType::FunctionType function) |
| Adds a message filter where the filter is a function. More...
|
|
template<typename TMessageType , typename TClass , typename TClassMethod > |
MessageSubscriptionToken | addMessageHandler (TMessageType &messageType, TClass *messageHandlerObject, TClassMethod method) |
| Adds a message handler where the handler is a method that is invoked on an object. More...
|
|
template<typename TMessageType > |
MessageSubscriptionToken | addMessageHandler (const TMessageType &messageType, typename TMessageType::FunctionType function) |
| Adds a message handler where the handler is a function. More...
|
|
template<typename TMessageType > |
MessageSubscriptionToken | addMessageHandler (const TMessageType &messageType, typename TMessageType::FunctionType function, Node *messageSourceFilter) |
| Adds a message handler where the handler is a function and you explicitly define the accepted source. More...
|
|
void | addNodeComponent (NodeComponentSharedPtr nodeComponent) |
| Transfers the ownership of a node component to an object node. More...
|
|
void | addNodeComponentWithOwner (NodeComponentSharedPtr nodeComponent, const void *owner) |
| Transfers the ownership of a node component to an object node and sets the owner of the node component. More...
|
|
void | addNodeReference (AbstractPropertyType propertyType, AbstractNodeReference *reference) |
|
void | addResource (const ResourceID &resourceId, string_view resourceUrl) |
| Adds a resource manager resource to an object node. If resourceID already exists in object, removes the existing entry. If resourceURL is NULL, error is thrown. */. More...
|
|
void | addResourceDictionary (ResourceDictionarySharedPtr resourceDictionary) |
| Adds a nested resource dictionary to the resource dictionary of a node. More...
|
|
void | addResourceReference (AbstractPropertyType propertyType, AbstractResourceReference *reference) |
| This is a helper for automatic resource tracking in ResourceReference. More...
|
|
template<typename TMessageType > |
MessageSubscriptionToken | addTunnelingFilter (const TMessageType &messageType, typename TMessageType::FunctionType function) |
| Adds a message filter where the filter is a function. More...
|
|
template<typename TMessageType , typename TClass , typename TClassMethod > |
MessageSubscriptionToken | addTunnelingFilter (const TMessageType &messageType, TClass *messageHandlerObject, TClassMethod method) |
| Adds a message filter where the filter is a method that is invoked on an object. More...
|
|
template<typename TMessageType > |
MessageSubscriptionToken | addTunnelingHandler (const TMessageType &messageType, typename TMessageType::FunctionType function, Node *messageSourceFilter) |
| Adds a message handler where the handler is a function and you explicitly define the accepted source. More...
|
|
AppliedStyleEntrySharedPtr | applyManualStyle (StyleSharedPtr style) |
| Applies a style to an object node. More...
|
|
AppliedStyleEntrySharedPtr | applyStyle (StyleSharedPtr style) |
| Applies a style to an object node. More...
|
|
void | applyStyles () |
| Apply all styles for an object node. More...
|
|
void | applyStylesRecursive () |
| Applies styles recursively. More...
|
|
void | attachRecursive () |
| Attaches an object node and its children recursively. More...
|
|
InputManipulatorConstIterator | beginInputManipulators () const |
|
NodeComponentConstIterator | beginNodeComponents () const |
|
void | clearChangeFlag (uint32_t flag) |
| Clears a change flag. More...
|
|
void | clearChildChangeFlag (uint32_t flag) |
| Clears a child change flag. More...
|
|
bool | containsResource (const ResourceID &resourceID) const |
| Returns if object node resource dictionary contains the resource with given ID. Resource can be any type: style, alias or resource manager resource. */. More...
|
|
BindingLookupContextPtr | createLookupContext (NodeSharedPtr templateRoot) |
| Creates a lookup context for the node. More...
|
|
void | detachRecursive () |
| Detaches a node and its descendants. More...
|
|
void | dispatchAbstractMessage (const AbstractMessageType &messageType, MessageArguments &messageArguments) |
| Dispatches a message from this node with specified arguments. More...
|
|
template<typename TArgumentsType > |
void | dispatchMessage (const MessageType< TArgumentsType > &messageType, typename MessageType< TArgumentsType >::ArgumentsType &messageArguments) |
| Dispatches a message from this node with specified arguments. More...
|
|
InputManipulatorConstIterator | endInputManipulators () const |
|
NodeComponentConstIterator | endNodeComponents () const |
|
template<typename TNodeType > |
shared_ptr< TNodeType > | findAbstractChild (string_view name) |
| Find a child by name. Finds direct children as well as children connected indirectly for example Viewport->Scene. More...
|
|
optional< string > | findResourceURL (const ResourceID &resourceId) const |
| Tries to find Resource URL for Resource ID from this node. More...
|
|
template<typename DataType > |
DataType | getAbstractProperty (AbstractPropertyType abstractPropertyType) const |
|
uint32_t | getChangeFlags () const |
| Get current change flags. More...
|
|
uint32_t | getChildChangeFlags () const |
| Get current child change flags. More...
|
|
FocusManager * | getFocusManager () const |
| Returns the Focus Manager associated with the Screen node to which this node belongs. More...
|
|
FocusScope * | getFocusScopeInfo () const |
| Returns the information about the focus scope for a node. More...
|
|
InputManager * | getInputManager () const |
| Returns the Input Manager associated with the Screen node to which this node belongs. More...
|
|
AbstractPropertyTypeDescriptor::ValueSource * | getNodeFinalValueSource (AbstractPropertyTypeDescriptor &descriptor) const |
|
template<typename DataType > |
optional< typename PropertyType< DataType >::DataType > | getOptionalAbstractProperty (AbstractPropertyType abstractPropertyType) const |
|
template<typename DataType > |
optional< typename PropertyType< DataType >::Traits::ReturnType > | getOptionalProperty (const PropertyType< DataType > &propertyType) const |
| Evaluates the property value in the same way as the overload above but does not default to the value in property metadata if there are no inputs to the property value. More...
|
|
Node * | getParent () const |
| Returns the parent of the node. More...
|
|
template<typename DataType > |
PropertyType< DataType >::Traits::ReturnType | getProperty (const PropertyType< DataType > &propertyType) const |
| Returns the current value of a property. More...
|
|
ResourceDictionarySharedPtr | getResourceDictionary () const |
| If a node has a resource dictionary, returns the resource dictionary of that node. More...
|
|
Screen * | getScreen () const |
| Returns the Screen node to which this node belongs. More...
|
|
NodeSharedPtr | getTemplateRoot () const |
| Gets the template root of this node. More...
|
|
void | invalidateArrange () |
| Invalidates arrange. More...
|
|
void | invalidateDraw () |
| Invalidates draw flag for the node. More...
|
|
void | invalidateFinalTransform () |
| Invalidates final transform for node. More...
|
|
void | invalidateMeasure () |
| Invalidates measure for the node. More...
|
|
void | invalidateRender () |
| Invalidates render for node. More...
|
|
bool | isAnyChangeFlagSet (uint32_t flag) const |
| Checks if any of given flags is set. More...
|
|
bool | isAnyChildChangeFlagSet (uint32_t flag) const |
| Checks if any child change flags (corresponding to given mask) are set. More...
|
|
bool | isAttached () const |
| Returns true if the node is attached to a screen or one of its descendants. More...
|
|
bool | isAttaching () const |
| Returns true if node is in the process of attaching, false otherwise. More...
|
|
bool | isChangeFlagSet (uint32_t flag) const |
| Checks if a change flag is set. More...
|
|
bool | isChildChangeFlagSet (uint32_t flag) const |
| Checks if child change flags match. More...
|
|
bool | isDetaching () const |
| Returns true if the node currently detaching. More...
|
|
bool | isEffectivelyFocusable () const |
| Returns whether a node is focusable. More...
|
|
bool | isEffectivelyVisible () const |
| Returns whether a node and its ancestor nodes are visible. More...
|
|
bool | isInitialized () const |
| Returns true if initialize() has been called, false otherwise. More...
|
|
bool | isInvalidArrange () const |
| Checks if the node needs arrange. More...
|
|
bool | isInvalidDraw () |
| Tells if node draw flag is invalid. More...
|
|
bool | isInvalidFinalTransform () const |
| Tells if final transform flag is invalid for node. More...
|
|
bool | isInvalidMeasure () const |
| Check if the node needs measure. More...
|
|
bool | isInvalidRender () const |
| Returns if node render flag is invalid. More...
|
|
bool | isNamed (string_view name) const |
|
| KZ_METACLASS_PROPERTY_TYPE (FontFamilyProperty) |
|
template<typename Type > |
shared_ptr< Type > | lookupNode (string_view pathOrKey) |
| Returns a node of specified type by looking it up with specified path or alias. More...
|
|
template<typename Type > |
shared_ptr< Type > | lookupNodeComponent (string_view name) |
| Returns a node component of specified type by looking it up with specified name. More...
|
|
Node * | lookupNodeRaw (string_view relativePath) |
| Get an object node by another node and a relative path. More...
|
|
ObjectSharedPtr | lookupObject (string_view relativePath) |
| Lookup for an object from a node. More...
|
|
template<typename Type > |
shared_ptr< Type > | lookupObject (string_view relativePath) |
| Lookup for an object from a node. More...
|
|
tuple< NodeSharedPtr, AbstractPropertyType > | lookupObjectForStateManager (string_view relativePath) |
| Lookup for an node and possible object from within the node for state manager. More...
|
|
void | notifyResourceDictionaryModified () |
| Forces the re-evaluation of resource IDs in a node tree. More...
|
|
void | removeAnonymousResource (const Resource &resource) |
| Removes anonymous resource from object node resources. More...
|
|
void | removeInputManipulator (InputManipulator &inputManipulator) |
| Removes the ownership and detaches an input manipulator from an object node. More...
|
|
void | removeKZBData (flat_set< AbstractPropertyType > *keepProperties) |
| Destroys all object node data loaded from KZB, including properties, bindings, node components, resources etc. More...
|
|
void | removeKZBData () |
| Destroys all object node data loaded from KZB. More...
|
|
void | removeMessageHandler (MessageSubscriptionToken token) |
| Removes a message subscription. More...
|
|
void | removeNodeComponent (NodeComponent &nodeComponent) |
| Removes the ownership of a node component from an object node. More...
|
|
void | removeNodeComponentWithOwner (const void *owner) |
| Removes all bindings with the specified owner. More...
|
|
void | removeNodeReference (const AbstractNodeReference &reference) |
|
void | removeResource (const ResourceID &resourceId) |
| Removes a resource with given ID from object node resource dictionary. Does not do anything if resourceID was not found. */. More...
|
|
void | removeResourceReference (const AbstractResourceReference &reference) |
| This is a helper for automatic resource tracking in ResourceReference. More...
|
|
virtual void | restoreResources () |
| Reattaches an object node after potential resource change. More...
|
|
void | setChangeFlag (uint32_t flag) |
| Sets a change flag. More...
|
|
void | setChildChangeFlag (uint32_t flag) |
| Sets a child change flag. More...
|
|
void | setParent (Node *parent) |
| Kanzi uses this method internally to set the parent of a node. More...
|
|
void | setResourceDictionary (ResourceDictionarySharedPtr resourceDictionary) |
| Replaces the resource dictionary of a node. More...
|
|
void | setScreen (Screen *screen) |
| Sets the Screen node to which this node belongs. More...
|
|
void | setTemplateRoot (NodeSharedPtr templateRoot) |
| Sets the template root of this node. More...
|
|
ResourceSharedPtr | tryAcquireResource (const ResourceID &id) const |
| Acquires a resource from the node or the node's closest ancestor having the resource id in the resource dictionary. More...
|
|
template<typename T > |
shared_ptr< T > | tryAcquireResource (const ResourceID &id) const |
| Acquires a resource from the node or the node's closest ancestor having the resource and casts the resource to given type. More...
|
|
KZ_DEPRECATED NodeSharedPtr | trySetActiveFocus () |
| Tries to move the focus on this node. More...
|
|
NodeSharedPtr | trySetFocus () |
| Tries to move the focus to this node. More...
|
|
NodeSharedPtr | trySetFocus (FocusFallback fallbackOption) |
| Tries to set the focus to the newFocusNode using FocusManager::trySetFocus() but with a fallback behavior in case the node does not gain focus. More...
|
|
void | unapplyStyle (AppliedStyleEntrySharedPtr appliedStyleEntry) |
| Unapplies a style from an object node. More...
|
|
void | unapplyStyles () |
| Unapplies and removes all applied styles. More...
|
|
void | unapplyStylesRecursive () |
| Unapplies styles recursively. More...
|
|
void | validateArrange () |
| Validates arrange. More...
|
|
void | validateDraw () |
| Validates draw flags for the node. More...
|
|
void | validateDrawForChildrenRecursive () |
| Recursively validates draw for the children from this 2D node onwards. More...
|
|
void | validateMeasure () |
| Validates measure for the node. More...
|
|
void | validateRender () |
| Validates render for node. More...
|
|
VisitorResult | visit (const Visitor &visitor, VisitorOrder order) |
| Visits a node and its descendants. More...
|
|
VisitorResult | visitDescendants (const Visitor &visitor, VisitorOrder order) |
| Visits the descendants of a node. More...
|
|
| ~Node () override |
| Destructor. More...
|
|
string | getName () const |
| Gets the value of NameProperty. More...
|
|
void | setName (string_view value) |
| Sets the value of NameProperty. More...
|
|
string | getPath () const |
| Gets the value of PathProperty. More...
|
|
void | setPath (string value) |
| Sets the value of PathProperty. More...
|
|
string | getLocale () const |
| Gets the value of LocaleProperty. More...
|
|
void | setLocale (string value) |
| Sets the value of LocaleProperty. More...
|
|
bool | isHitTestable () const |
| Gets the value of HitTestableProperty. More...
|
|
void | setHitTestable (bool value) |
| Sets the value of HitTestableProperty. More...
|
|
bool | isHitTestableContainer () const |
| Gets the value of HitTestableContainerProperty. More...
|
|
void | setHitTestableContainer (bool value) |
| Sets the value of HitTestableContainerProperty. More...
|
|
bool | isVisible () const |
| Gets the value of VisibleProperty. More...
|
|
void | setVisible (bool value) |
| Sets the value of VisibleProperty. More...
|
|
bool | isEnabled () const |
| Returns the value of the EnabledProperty. More...
|
|
void | setEnabled (bool value) |
| Sets the value of the EnabledProperty. More...
|
|
bool | isEffectivelyEnabled () const |
| Returns the value of EffectivelyEnabledProperty. More...
|
|
bool | isFocusable () const |
| Gets the value of the FocusableProperty. More...
|
|
void | setFocusable (bool value) |
| Sets the value of the FocusableProperty. More...
|
|
bool | isFocused () const |
| Gets the value of the FocusedProperty. More...
|
|
void | setFocused (bool value) |
| Sets the value of the FocusedProperty. More...
|
|
FocusState | getFocusState () const |
| Gets the value of the FocusStateProperty. More...
|
|
void | setFocusState (FocusState state) |
| Sets the value of the FocusStateProperty. More...
|
|
FontFamilySharedPtr | getFontFamily () const |
| Gets the font family the node uses. More...
|
|
void | setFontFamily (FontFamilySharedPtr value) |
| Sets the font family the node uses. More...
|
|
float | getVisibleAmountInParent () const |
| Gets the value of VisibleAmountInParentProperty. More...
|
|
void | setVisibleAmountInParent (float value) |
| Sets the value of VisibleAmountInParentProperty. More...
|
|
float | getProjection2DTo3DScale () const |
| Gets the value of Projection2DTo3DScaleProperty. More...
|
|
void | setProjection2DTo3DScale (float value) |
| Sets the value of Projection2DTo3DScaleProperty. More...
|
|
ResourceSharedPtr | getStyle () const |
| Gets the value of StyleProperty. More...
|
|
void | setStyle (ResourceSharedPtr value) |
| Sets the value of StyleProperty. More...
|
|
ResourceSharedPtr | getStateManager () const |
| Gets the value of StateManagerProperty. More...
|
|
void | setStateManager (ResourceSharedPtr value) |
| Sets the value of StateManagerProperty. More...
|
|
float | getWidth () const |
| Gets the value of WidthProperty. More...
|
|
void | setWidth (float value) |
| Sets the value of WidthProperty. More...
|
|
float | getHeight () const |
| Gets the value of HeightProperty. More...
|
|
void | setHeight (float value) |
| Sets the value of HeightProperty. More...
|
|
float | getDepth () const |
| Gets the value of DepthProperty. More...
|
|
void | setDepth (float value) |
| Sets the value of DepthProperty. More...
|
|
float | getActualWidth () const |
| Gets the value of ActualWidthProperty. More...
|
|
void | setActualWidth (float value) |
| Sets the value of ActualWidthProperty. More...
|
|
float | getActualHeight () const |
| Gets the value of ActualHeightProperty. More...
|
|
void | setActualHeight (float value) |
| Sets the value of ActualHeightProperty. More...
|
|
float | getActualDepth () const |
| Gets the value of ActualDepthProperty. More...
|
|
void | setActualDepth (float value) |
| Sets the value of ActualDepthProperty. More...
|
|
Node::HorizontalAlignment | getHorizontalAlignment () const |
| Gets the value of HorizontalAlignmentProperty. More...
|
|
void | setHorizontalAlignment (Node::HorizontalAlignment value) |
| Sets the value of HorizontalAlignmentProperty. More...
|
|
Node::VerticalAlignment | getVerticalAlignment () const |
| Gets the value of VerticalAlignmentProperty. More...
|
|
void | setVerticalAlignment (Node::VerticalAlignment value) |
| Sets the value of VerticalAlignmentProperty. More...
|
|
Node::DepthAlignment | getDepthAlignment () const |
| Gets the value of DepthAlignmentProperty. More...
|
|
void | setDepthAlignment (Node::DepthAlignment value) |
| Sets the value of DepthAlignmentProperty. More...
|
|
Vector2 | getHorizontalMargin () const |
| Gets the value of HorizontalMarginProperty. More...
|
|
void | setHorizontalMargin (Vector2 value) |
| Sets the value of HorizontalMarginProperty. More...
|
|
Vector2 | getVerticalMargin () const |
| Gets the value of VerticalMarginProperty. More...
|
|
void | setVerticalMargin (Vector2 value) |
| Sets the value of VerticalMarginProperty. More...
|
|
Vector2 | getDepthMargin () const |
| Gets the value of DepthMarginProperty. More...
|
|
void | setDepthMargin (Vector2 value) |
| Sets the value of DepthMarginProperty. More...
|
|
Node::ContentStretch | getContentStretch () const |
| Gets the value of ContentStretchProperty. More...
|
|
void | setContentStretch (Node::ContentStretch value) |
| Sets the value of ContentStretchProperty. More...
|
|
float | getOpacity () const |
| Gets the value of OpacityProperty. More...
|
|
void | setOpacity (float value) |
| Sets the value of OpacityProperty. More...
|
|
bool | isHover () const |
| Returns whether the node has HoverProperty set to true. More...
|
|
bool | isClipChildren () const |
| Gets the value of ClipChildrenProperty. More...
|
|
void | setClipChildren (bool value) |
| Sets the value of ClipChildrenProperty. More...
|
|
AppliedStyleEntrySharedPtr | applyObjectStyle (kanzi::StyleSharedPtr style) |
| Applies a style to an object. More...
|
|
void | applyObjectStyles () |
| Apply all styles for an object node. More...
|
|
Domain * | getDomain () const |
| Returns the domain the object belongs to. More...
|
|
const Metaclass * | getDynamicMetaclass () const override |
| Returns the metaclass of the dynamic type of the object. More...
|
|
MainLoopScheduler * | getMainLoopScheduler () const |
| Returns the MainLoopScheduler instance of the associated Domain. More...
|
|
detail::MessageDispatcher * | getMessageDispatcher () const |
| Returns the message dispatcher of the object. More...
|
|
ResourceManager * | getResourceManager () const |
| Returns the resource manager of the object. More...
|
|
ScriptingContextSharedPtr | getScriptingContext () const |
| Gets the scripting context of the object. More...
|
|
| Object (Domain *domain) |
|
void | setScriptingContext (ScriptingContextSharedPtr context) |
| Sets the scripting context of the object. More...
|
|
void | unapplyObjectStyle (AppliedStyleEntrySharedPtr appliedStyleEntry) |
|
void | unapplyObjectStyles () |
| Unapplies and removes all applied styles. More...
|
|
| ~Object () override |
|
bool | isTypeOf (const Metaclass *objectType) const |
| Determines if the type of this object is the given type or derived from it. More...
|
|
virtual | ~MetaObject () |
|
template<typename DataType > |
void | addPropertyModifier (const PropertyType< DataType > &propertyType, typename PropertyType< DataType >::Descriptor::ModifierCallback callback, void *owner) |
|
template<typename DataType > |
void | addPropertyModifierWithoutNotifyingHandlers (const PropertyType< DataType > &propertyType, typename PropertyType< DataType >::Descriptor::ModifierCallback callback, void *owner) |
| Adds a property modifier without notifying handlers. More...
|
|
template<typename DataType > |
void | addPropertyNotificationHandler (const PropertyType< DataType > &propertyType, typename PropertyType< DataType >::Descriptor::NotificationCallback callback, void *owner) |
|
template<typename DataType > |
void | addPropertyValueSource (const PropertyType< DataType > &propertyType, typename PropertyType< DataType >::Descriptor::TypedValueSource *valueSource, PropertyValuePrecedence precedence, void *ownerPointer) |
|
template<typename DataType > |
void | addPropertyValueSource (const PropertyType< DataType > &propertyType, typename PropertyType< DataType >::Descriptor::TypedValueSource *valueSource, PropertyValuePrecedence precedence, AbstractPropertyTypeDescriptor::ValueSourceOwner *owner) |
|
PropertyStorageContainer::iterator | beginPropertyStorage () |
| Returns the begin iterator to the internal property storage container. More...
|
|
PropertyStorageContainer::const_iterator | beginPropertyStorage () const |
| Returns the begin iterator to the internal property storage container. More...
|
|
void | clearPropertyFlag (AbstractPropertyType propertyType, uint32_t flag) |
|
void | copyLocalValue (const PropertyObject &other, AbstractPropertyType propertyType) |
| Copies local value of single property from another object. More...
|
|
void | copyLocalValues (const PropertyObject &other) |
| Copies all local values from another object. More...
|
|
PropertyStorageContainer::iterator | endPropertyStorage () |
| Returns the end iterator to the internal property storage container. More...
|
|
PropertyStorageContainer::const_iterator | endPropertyStorage () const |
| Returns the end iterator to the internal property storage container. More...
|
|
template<typename DataType > |
PropertyType< DataType >::Traits::ReturnType | getAbstractProperty (AbstractPropertyType abstractPropertyType) const |
|
template<typename DataType > |
PropertyType< DataType >::Traits::ReturnType | getAbstractPropertyBase (AbstractPropertyType abstractPropertyType) const |
|
template<typename DataType > |
optional< typename PropertyType< DataType >::Traits::ReturnType > | getOptionalAbstractProperty (AbstractPropertyType abstractPropertyType) const |
|
template<typename DataType > |
optional< typename PropertyType< DataType >::Traits::ReturnType > | getOptionalProperty (const PropertyType< DataType > &propertyType) const |
| Evaluates the property value in the same way as the overload above but does not default to the value in property metadata if there are no inputs to the property value. More...
|
|
template<typename DataType > |
optional< typename PropertyType< DataType >::Traits::ReturnType > | getOptionalPropertyBase (const PropertyType< DataType > &propertyType) const |
| Returns the current value of a property disregarding modifiers, but does not default to the value in property metadata if there are no inputs to the property value. More...
|
|
template<typename DataType > |
PropertyType< DataType >::Traits::ReturnType | getProperty (const PropertyType< DataType > &propertyType) const |
| Returns the current value of a property type. More...
|
|
template<typename DataType > |
PropertyType< DataType >::Traits::ReturnType | getPropertyBase (const PropertyType< DataType > &propertyType) const |
| Returns the current value of a property disregarding modifiers. More...
|
|
template<typename DataType > |
size_t | getPropertyNotificationHandlerCount (const PropertyType< DataType > &propertyType) const |
| Gets number of current notification handlers for given property type. More...
|
|
bool | hasBaseValue (AbstractPropertyType propertyType) const |
| Evaluates whether there are any inputs into the property value, disregarding modifiers. More...
|
|
bool | hasLocalValue (AbstractPropertyType propertyType) const |
| Evaluates whether there is a local value set for the property. More...
|
|
bool | hasNonClassValue (AbstractPropertyType propertyType) const |
| Evaluates whether there is a value of any precedence higher than class default value set for the property. More...
|
|
bool | hasValue (AbstractPropertyType propertyType) const |
| Evaluates whether there are any inputs into the property value. More...
|
|
bool | isPropertyFlagSet (AbstractPropertyType propertyType, uint32_t flag) const |
|
| PropertyObject () |
|
void | removeKzbProperties (flat_set< AbstractPropertyType > *keepProperties) |
| Remove all KZB properties that are not included in a given set. More...
|
|
void | removeKzbProperties () |
| Remove all KZB properties. More...
|
|
template<typename DataType > |
void | removeLocalPropertyValueSource (const PropertyType< DataType > &propertyType, typename PropertyType< DataType >::Descriptor::TypedValueSource *valueSource, void *ownerPointer) |
|
void | removeLocalValue (AbstractPropertyType propertyType) |
| Removes the local value associated with the property. More...
|
|
template<typename DataType > |
void | removePropertyModifier (const PropertyType< DataType > &propertyType, typename PropertyType< DataType >::Descriptor::ModifierCallback callback, void *owner) |
|
template<typename DataType > |
void | removePropertyNotificationHandler (const PropertyType< DataType > &propertyType, typename PropertyType< DataType >::Descriptor::NotificationCallback callback, void *owner) |
|
template<typename DataType > |
void | removePropertyValueSource (const PropertyType< DataType > &propertyType, typename PropertyType< DataType >::Descriptor::TypedValueSource *valueSource, void *ownerPointer) |
|
template<typename DataType > |
void | setAbstractProperty (AbstractPropertyType abstractPropertyType, typename PropertyType< DataType >::Traits::ParameterType value) |
|
template<typename DataType > |
void | setProperty (const PropertyType< DataType > &propertyType, typename PropertyType< DataType >::Traits::ParameterType value) |
| Sets the local value of a property type. More...
|
|
void | setPropertyFlag (AbstractPropertyType propertyType, uint32_t flag) |
|
KZ_DEPRECATED void | validatePropertyModifiers (AbstractPropertyType propertyType) |
| Validates property modifiers and notifies handlers. More...
|
|
void | validatePropertyModifiersAndNotifyHandlers (AbstractPropertyType propertyType) |
| Validates property modifiers and notifies handlers. More...
|
|
virtual | ~PropertyObject () |
|
void | addBindingRuntime (AbstractBindingRuntimeSharedPtr entry, shared_ptr< void > owner) |
| Adds an already-created binding runtime to this binding host. More...
|
|
BindingRuntimeHandle | setBinding (AbstractBindingSharedPtr binding, shared_ptr< Node > templateRoot, AbstractPropertyType propertyType, PropertyField field, PropertyValuePrecedence precedence) |
| Wrapper for setting a binding. More...
|
|
BindingRuntimeHandle | setBinding (AbstractBindingSharedPtr binding, shared_ptr< Node > templateRoot, AbstractPropertyType propertyType, PropertyField field) |
| Wrapper for setting a binding. More...
|
|
BindingRuntimeHandle | setBinding (AbstractBindingSharedPtr binding, shared_ptr< Node > templateRoot, AbstractPropertyType propertyType, PropertyValuePrecedence precedence) |
| Wrapper for setting a binding. More...
|
|
BindingRuntimeHandle | setBinding (AbstractBindingSharedPtr binding, AbstractPropertyType propertyType, PropertyField field, PropertyValuePrecedence precedence) |
| Wrapper for setting a binding. More...
|
|
BindingRuntimeHandle | setBinding (AbstractBindingSharedPtr binding, AbstractPropertyType propertyType, PropertyField field) |
| Wrapper for setting a binding. More...
|
|
BindingRuntimeHandle | setBinding (AbstractBindingSharedPtr binding, AbstractPropertyType propertyType, PropertyValuePrecedence precedence) |
| Wrapper for setting a binding. More...
|
|
BindingRuntimeHandle | setBinding (AbstractBindingSharedPtr binding, AbstractPropertyType propertyType) |
| Wrapper for setting a binding. More...
|
|
BindingRuntimeHandle | setBinding (AbstractBindingSharedPtr binding, shared_ptr< Node > templateRoot) |
| Sets a binding with no target. More...
|
|
BindingRuntimeHandle | setBinding (AbstractBindingSharedPtr binding) |
| Wrapper for setting a binding with no target. More...
|
|
BindingRuntimeHandle | setBindingWithOwner (AbstractBindingSharedPtr binding, shared_ptr< void > owner, shared_ptr< Node > templateRoot, AbstractPropertyType propertyType, PropertyField field, PropertyValuePrecedence precedence) |
| Sets a binding to a certain property. More...
|
|
BindingRuntimeHandle | setBindingWithOwner (AbstractBindingSharedPtr binding, shared_ptr< void > owner, AbstractPropertyType propertyType, PropertyField field, PropertyValuePrecedence precedence) |
| Wrapper for setting a binding with owner. More...
|
|
BindingRuntimeHandle | setBindingWithOwner (AbstractBindingSharedPtr binding, shared_ptr< void > owner, AbstractPropertyType propertyType) |
| Wrapper for setting a binding with owner. More...
|
|
BindingRuntimeHandle | setBindingWithOwner (AbstractBindingSharedPtr binding, shared_ptr< void > owner, shared_ptr< Node > templateRoot) |
| Sets a binding with no target. More...
|
|
BindingRuntimeHandle | setBindingWithOwner (AbstractBindingSharedPtr binding, shared_ptr< void > owner) |
| Wrapper for setting a binding with no target. More...
|
|
BindingRuntimeHandle | setModifierBinding (AbstractBindingSharedPtr binding, shared_ptr< Node > templateRoot, AbstractPropertyType propertyType, PropertyField field) |
| Wrapper for setting a modifier binding. More...
|
|
BindingRuntimeHandle | setModifierBinding (AbstractBindingSharedPtr binding, AbstractPropertyType propertyType, PropertyField field) |
| Wrapper for setting a modifier binding. More...
|
|
BindingRuntimeHandle | setModifierBinding (AbstractBindingSharedPtr binding, AbstractPropertyType propertyType) |
| Wrapper for setting a modifier binding. More...
|
|
BindingRuntimeHandle | setModifierBindingWithOwner (AbstractBindingSharedPtr binding, shared_ptr< void > owner, shared_ptr< Node > templateRoot, AbstractPropertyType propertyType, PropertyField field) |
| Sets a modifier binding. More...
|
|
BindingRuntimeHandle | setModifierBindingWithOwner (AbstractBindingSharedPtr binding, shared_ptr< void > owner, AbstractPropertyType propertyType, PropertyField field) |
| Wrapper for setting a modifier binding. More...
|
|
BindingRuntimeHandle | setModifierBindingWithOwner (AbstractBindingSharedPtr binding, shared_ptr< void > owner, AbstractPropertyType propertyType) |
| Wrapper for setting a modifier binding. More...
|
|
BindingRuntimeConstIterator | beginBindingRuntimes () const |
| Returns an iterator to the beginning of binding runtimes. More...
|
|
BindingRuntimeConstIterator | endBindingRuntimes () const |
| Returns an iterator to the end of binding runtimes. More...
|
|
AbstractBindingRuntimeSharedPtr | getBindingRuntime (size_t idx) |
| Gets binding by index. More...
|
|
size_t | getBindingRuntimeCount () const |
| Gets the number of binding runtimes added to this node. More...
|
|
void | removeAllBindings () |
| Removes all binding runtimes. More...
|
|
void | removeBinding (BindingRuntimeHandle &bindingRuntime) |
| Removes a binding runtime added earlier. More...
|
|
void | removeBindingsWithOwner (shared_ptr< void > owner) |
| Removes all binding runtimes with the specified owner. More...
|
|